<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
        p span:nth-child(6n + 6) {
            color: #b043b6;
        }
        p span:nth-child(6n + 5) {
            color: #6f6fed;
        }
        p span:nth-child(6n + 4) {
            color: #43b049;
        }
        p span:nth-child(6n + 3) {
            color: #dcdc5f;
        }
        p span:nth-child(6n + 2) {
            color: #e79a49;
        }
        p span:nth-child(6n + 1) {
            color: #e74349;
        }
        *,
        :before,
        :after {
            box-sizing: border-box;
        }
        html {
            height: 100%;
            background: #222;
            color: #fff;
        }
        body {
            background: #222;
            min-height: 100%;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            text-align: center;
            padding: 1em;
            font-size: 60px;
            line-height: 1.375;
            font-family: Corben, Cooper, serif;
            font-weight: 700;
        }
        p {
            font-size: 12vmin;
            max-width: 16em;
        }
    </style>
    <script src="../../js/jquery.js"></script>
</head>
<body>
<p>No longer may this liberty be denied.hr</p>
</body>
</html>
<script>
    $('p').each(function() {
        var text = $(this).text();
        var letters = text.split('');
        var new_letters = '';
        for (var i = 0; i < letters.length; i++) {
            if (letters[i] == ' ') {
                new_letters += ' ';
                continue;
            }
            new_letters += '<span>' + letters[i] + '</span>';
        }
        $(this).html(new_letters);
    });
</script>
